﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Presentacion/MasterPage/MasterPage.Master" AutoEventWireup="true" CodeBehind="EliminarArchivoPdf.aspx.cs" Inherits="vudu.Presentacion.Vista.VU_09_Gestionar_Carga_de_Archivos_PDF.EliminarArchivoPdf" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
       
          .stilo13
        {
             height: 86px;
            width: 197px;
        }
         .stilo
        {
            width: 275px;
        }
    </style>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <table style="border-style: solid; border-width: 1px; width: 100%;">
 <tr>
 <td>

 
   <table style="width: 100%">
   <tr>
        <td>
        </td>
        <td align="right" colspan="2">
                <asp:Label ID="labelNombreUsuario" runat="server" Text="" CssClass="migaActual"></asp:Label>
        </td>
    </tr>
    <tr>
    <td style= "width: 250px">
            &nbsp;</td>
        <td style="width: 350px" align="center">&nbsp </td>
        <td  style="width: 250px"> <br /> </td>
    </tr>
    <tr>
        <td style= "width: 250px">
            &nbsp;</td>
        <td style="width: 350px" align="center">
            <asp:Label ID="tituloPaginaE" runat="server" Text="Gestionar Archivos PDF" CssClass="tituloGeneral"></asp:Label>
        </td>
        <td  style="width: 250px">
            <br />       
        </td>
    </tr>
    <tr>
        <td style= "width: 250px">
            &nbsp;</td>
        <td style="width: 350px" align="center">
            <asp:Label ID="subtituloGeneral" runat="server" Text="Eliminar Archivos PDF" CssClass="tituloGeneral"></asp:Label>
        </td>
        <td  style="width: 250px">
            <br />  
        </td> 
    </tr>
    <tr>
    <td style= "width: 250px">
            &nbsp;</td>
        <td style="width: 350px" align="center"><a class = "transaccionFallida" ><asp:Label ID="mensajeDeTransaccion" runat="server" Text="" Visible="False"></asp:Label></a></td>
        <td  style="width: 250px"> <br /> </td>
    </tr>
    </table>

    <asp:MultiView ID="multiViewEliminar" runat="server" ActiveViewIndex="0">
       <asp:View ID="ViewConsultarCategoriasPdf" runat="server">
      <fieldset id="panelSeleccionar">
       <legend><strong>Archivos</strong></legend>
       <table style="width:100%;" >
                   <tr>
                                <td style="width: 100px"align="right"><asp:Label  ID="labelMateria" runat="server"  Font-Names="Arial" Font-Size="10pt">Materia: </asp:Label></td>
                                <td style="width: 250px" align="left"><asp:Label  ID="labelNombreMateria" runat="server"  Font-Names="Arial" Font-Size="10pt"></asp:Label></td>
                                <td style="width: 215px">&nbsp;</td>                            
                                <td class="stilo18">&nbsp;&nbsp;</td>  
                                <td class="stilo18">&nbsp;</td>                               
                    </tr>
                     <tr>
                                <td style="width: 55px"align="left"> &nbsp;</td>
                                <td style="width: 155px" align="left">&nbsp;</td>
                                <td style="width: 215px">&nbsp;</td>
                                <td class="stilo18">&nbsp;</td>                               
                    </tr>
                    <tr>
                                <td align="left"> &nbsp;<asp:LinkButton  runat="server" ID="linkAtras" style="color:Blue" PostBackUrl="~/Presentacion/Vista/VU_09 Gestionar Carga de Archivos PDF/ConsultarArchivoPdf.aspx" >   Atras</asp:LinkButton></td>
                                <td align="right"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                <asp:Label ID="labelAsterisco" runat="server" ForeColor="Red" Text="*" Width="16px" /><asp:Label  ID="labelCategoria" runat="server"  Font-Names="Arial" Font-Size="10pt">Seleccione la categor&iacute;a: &nbsp; &nbsp;</asp:Label></td>
                                <td style="width: 215px"><asp:DropDownList ID="comboBoxCategoria" Width="175"  runat="server" AutoPostBack ="true" onselectedindexchanged="ComboBoxCategoria_SelectedIndexChanged">                       
                                <asp:ListItem Value="0">- Selecciona -</asp:ListItem>
                                </asp:DropDownList></td> 
                                <td class="stilo18">&nbsp;</td>  
                                <td class="stilo18"><asp:Button   ID="botonConsultar" runat="server" Text="Consultar"  
                     onclick="Button1_Click" Height="30px" Width="86px"  CssClass="boton" /></td>                                
                     </tr>
                      <tr>
                                <td style="width: 55px"align="left"> &nbsp;</td>
                                <td style="width: 155px" align="left">&nbsp;</td>
                                <td style="width: 215px">&nbsp;</td>
                                <td class="stilo18">&nbsp;</td>                               
                    </tr>

                     <asp:Label style=" color: #FF0000" ID="mensareError2" runat="server"></asp:Label>
        </table>
</fieldset><br/><br />
    

 <table width="100%" id="tableBon">
                   <tr>
                    <td style="width: 15px"align="left"> &nbsp;</td>
                                <td style="width: 55px"> 
                      <asp:GridView ID="listaArchivos" runat="server"  HorizontalAlign="Center" 
                          AllowPaging="True" CellPadding="4" ForeColor="#333333" GridLines="None" 
                          onselectedindexchanged="SeleccionoEliminar" PageSize="8" Width="503px" style="text-align:center" >
                          <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                          <Columns>
                              <asp:CommandField ButtonType="Image" 
                                  SelectImageUrl="~/Presentacion/Imagenes/deleteicon.png" 
                                  ShowSelectButton="True"  />
                          </Columns>
                          <EditRowStyle BackColor="#999999" />
                          <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                          <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                          <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                          <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                          <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                          <SortedAscendingCellStyle BackColor="#E9E7E2" />
                          <SortedAscendingHeaderStyle BackColor="#506C8C" />
                          <SortedDescendingCellStyle BackColor="#FFFDF8" />
                          <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                          <sortedascendingcellstyle backcolor="#E9E7E2" />
                          <sortedascendingheaderstyle backcolor="#506C8C" />
                          <sorteddescendingcellstyle backcolor="#FFFDF8" />
                          <sorteddescendingheaderstyle backcolor="#6F8DAE" />
                      </asp:GridView>
              </td>                               
                    </tr>
                </table>
  </asp:View>
  </asp:MultiView>
  </td>
  </tr>    
</asp:Content>
